package fr.umlv.m2.uwp2011.persistence.sujet;

import java.io.Serializable;
import java.util.Iterator;
import java.util.List;

@SuppressWarnings("serial")
public class Sujet implements Serializable {
	
	private Long id;
	
	private String type;

	private String titre;

	private String description;

	private List<Link> links;
	
	
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTitre() {
		return titre;
	}

	public void setTitre(String titre) {
		this.titre = titre;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Long getId() {
		return id;
	}

	public void setLinks(List<Link> links) {
		this.links = links;
	}

	public Iterator<Link> iteratorLinks() {
		return links.iterator();
	}
}
